# -*- coding: utf-8 -*-
# @Time : 2024/4/30 10:50
# @Author : Zxg
# @Email : 1473858993@qq.com
# @File : webdriver.py
# @Project : Luckin_Finance_Center_UI
from selenium import webdriver


class WebDriver:
    """
    实现全局执行case只启动一次webdriver驱动程序
    """

    def __init__(self):
        self.driver = webdriver.Chrome()
        self.driver.implicitly_wait(30)


driver = WebDriver().driver
